#include <QtWidgets/QApplication>


#include "MenuManager.h"
int main(int argc, char* argv[])
{
    QApplication a(argc, argv);
    //ContainsExitWidget widget;

    //widget.showWidget();

    //LeafNodeWidget widget;
    //QList<UIElement*> list;
    //for (int i = 2; i < 6; i++) {
    //    list.push_back(new CIconElement(QString(":/UI/icon/mainMenu/Reticle Zero/Reticle Setting/Reticle Color"),QString(":/UI/icon/ShortcutMenu/s/%1s.png").arg(1),i));
    //}
    MenuManager menuManager;

    menuManager.setMenuFormIndex(0);

 /*  for (int i = 0; i < 8; i++) {
       list.push_back(new CExpandButton(LanguageStr_NS::SCREEN_BRIGHTNESS
           , QString(":/UI/icon/ShortcutMenu")
           , MAIN_MENU_SCREEN_BRI
           , true
           , QStringList() << "1" << "2" << "3" << "4" << "5"
           , ns_command_key::screenBrightness));
    }*/
  


    //widget.setName("TextWidget");
  /*  widget.setElements(list);
    widget.setDisplayNum(5);
    widget.showWidget();*/

    return a.exec();
}
